prometheus: Fix build for mips64/mips64el
authorJeffery To <[email protected]>
Mon, 22 Jul 2019 20:05:09 +0000 (04:05 +0800)
committerJeffery To <[email protected]>
Mon, 22 Jul 2019 20:07:56 +0000 (04:07 +0800)
commit79b1942116e44273ce399f4be0bb1a68f6b43922
tree9c508721bdd512c9d1cf92a3e11266ac36c565a0
parent626949defca45b249659136761b354b257f7de76
prometheus: Fix build for mips64/mips64el

Prometheus uses an older version of fsnotify, which uses a system call
(unix.InotifyInit) that is not implemented for mips64/mips64el.

This patches Prometheus to use a newer version of fsnotify that uses a
different system call (unix.InotifyInit1) that should be available on
all Linux systems.

Fixes #9494.

Signed-off-by: Jeffery To <[email protected]>
utils/prometheus/Makefile
utils/prometheus/patches/001-update-fsnotify.patch [new file with mode: 0644]